package com.qianda.qdminiapp.domain.model.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cw
 * @since 2019-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("RATIOOFDEVICE")
public class Ratioofdevice extends Model<Ratioofdevice> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "RATIO_ID", type = IdType.AUTO)
    private Integer ratioId;

    @TableField("RATIO_DEVICE_ID")
    private Integer ratioDeviceId;

    @TableField("RATIO_VALUE_AGENT_PROVINCE")
    private String ratioValueAgentProvince;

    @TableField("RATIO_VALUE_AGENT_CITY")
    private String ratioValueAgentCity;

    @TableField("RATIO_VALUE_AGENT_DISTRICT")
    private String ratioValueAgentDistrict;

    @TableField("RATIO_VALUE_REFERRER")
    private String ratioValueReferrer;

    @TableField("RATIO_VALUE_STORE")
    private String ratioValueStore;


    @Override
    protected Serializable pkVal() {
        return this.ratioId;
    }

}
